﻿@model ArivisAccounts.Models.EditRoleModel

@{
    ViewBag.Title = "Create Role";
}

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset style="display:inline-block">
        <legend>Create new Role</legend>

		<table class="editor-table">
		<tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.Role)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.Role)
            @Html.ValidationMessageFor(model => model.Role)
        </td>
		</tr>
		</table>

        <p style="margin-bottom:0">
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
